package com.cloudcc.mobile.weight.webview;

import android.webkit.WebView;
import android.webkit.WebViewClient;


/** 
* @Description: WebViewClient 处理
* @author wangzhiqiang
* @date 2015-12-4 上午11:10:14 
*  
*/
public class CloudccWebViewClient extends WebViewClient{

	@Override
	public void onReceivedSslError(WebView view,
			android.webkit.SslErrorHandler handler,
			android.net.http.SslError error) {
		handler.proceed();
	};

	@Override
	public void onReceivedError(WebView view, int errorCode,
			String description, String failingUrl) {
		view.loadUrl("file:///android_asset/html/error.html");
	}
	
}
